/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package utils;

import java.io.File;
import models.PersonalData;

/**
 *
 * @author Maciek
 */
public class PathCreator {
    public static final String certfolder = "certs";
    static public String path(PersonalData pd){
        StringBuilder sb = new StringBuilder();
        sb.append(certfolder).append(File.separatorChar); 
        sb.append(pd.firstName).append(pd.lastName).append(pd.Pesel);
        return sb.toString();
    }
}
